package com.naire.modul.customer.service;

import net.common.service.GeneralService;
import com.naire.modul.customer.dao.CustomerDao;
import com.naire.modul.customer.dao.impl.CustomerDaoImpl;
import com.naire.modul.customer.vo.CustomerVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class CustomerFindService extends GeneralService {

	private CustomerVo bean;
	private Integer id;

	@Override
	public void execute() throws Exception {
		CustomerDao dao = new CustomerDaoImpl();
		bean = dao.find(id);
	}

	public CustomerVo getBean() {
		return bean;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
